import { GET_DATA } from "./constant";
import { usesrState } from "./store";

const mutations = {
  [GET_DATA](state: usesrState, payload: boolean): void {
    console.log("数据请求", payload);
    state.loading = payload;
  },
};

export default mutations;
